package com.kingdee.eas.xbang.basedata;

import com.kingdee.bos.BOSException;
import com.kingdee.bos.BOSObjectFactory;
import com.kingdee.bos.util.BOSObjectType;
import com.kingdee.bos.Context;

public class RiskPoolFactory
{
    private RiskPoolFactory()
    {
    }
    public static com.kingdee.eas.xbang.basedata.IRiskPool getRemoteInstance() throws BOSException
    {
        return (com.kingdee.eas.xbang.basedata.IRiskPool)BOSObjectFactory.createRemoteBOSObject(new BOSObjectType("41ACF6C8") ,com.kingdee.eas.xbang.basedata.IRiskPool.class);
    }
    
    public static com.kingdee.eas.xbang.basedata.IRiskPool getRemoteInstanceWithObjectContext(Context objectCtx) throws BOSException
    {
        return (com.kingdee.eas.xbang.basedata.IRiskPool)BOSObjectFactory.createRemoteBOSObjectWithObjectContext(new BOSObjectType("41ACF6C8") ,com.kingdee.eas.xbang.basedata.IRiskPool.class, objectCtx);
    }
    public static com.kingdee.eas.xbang.basedata.IRiskPool getLocalInstance(Context ctx) throws BOSException
    {
        return (com.kingdee.eas.xbang.basedata.IRiskPool)BOSObjectFactory.createBOSObject(ctx, new BOSObjectType("41ACF6C8"));
    }
    public static com.kingdee.eas.xbang.basedata.IRiskPool getLocalInstance(String sessionID) throws BOSException
    {
        return (com.kingdee.eas.xbang.basedata.IRiskPool)BOSObjectFactory.createBOSObject(sessionID, new BOSObjectType("41ACF6C8"));
    }
}